package com.hoshiicloud.goods.param.sku;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 *  2019/9/10 16:46 qry
 * 自定义入参
 */
@Data
@ApiModel("查询ExtSku集合入参对象")
public class SkuExtListParam implements Serializable {

    @ApiModelProperty("租户id")
    private Long companyId;

    @ApiModelProperty("平台ID")
    private Long platformId;

    @ApiModelProperty("店铺id")
    private Long storeId;

    @ApiModelProperty("拓展spuid")
    private Long spuId;

    @ApiModelProperty("baseSkuID")
    private Long skuId;

    @ApiModelProperty("商品名称")
    private String skuTitle;

    @ApiModelProperty("售价")
    private BigDecimal salePrice;

    @ApiModelProperty("市场价")
    private BigDecimal marketPrice;

    @ApiModelProperty("成本价")
    private BigDecimal costPrice;

    @ApiModelProperty("供应商")
    private Long vendorId;

    @ApiModelProperty("sku图片")
    private String skuImage;

    @ApiModelProperty("属性")
    private String extendProperty;

    @ApiModelProperty("规格")
    private String extendSpec;


    /**
     * 1-单类仓库 2-多类仓库
     */
    @ApiModelProperty("dispatch_policy")
    private Integer dispatchPolicy;


    /**
     * 单类仓库类别 ID
     */
    @ApiModelProperty("dispatch_whid")
    private Long dispatchWhid;


    /**
     * 多类仓库类别ID 集合   1:2:3
     */
    @ApiModelProperty("dispatch_whids")
    private String dispatchWhids;


    /**
     * 库存检验逻辑：1-库存足够才能下单 2-库存不够也能下单
     */
    @ApiModelProperty("store_enough")
    private Integer storeEnough;

    /**
     * 收货间隔时间，以天为单位，默认为1天
     */
    @ApiModelProperty("receipt_interval")
    private Integer receiptInterval;
    /**
     *  提货日期
     */
    @ApiModelProperty("receipt_date")
    private LocalDateTime receiptDate;

    /**
     * 创建时间
     */
    @ApiModelProperty("created_time")
    private LocalDateTime createdTime;


    /**
     * 修改时间
     */
    @ApiModelProperty("updated_time")
    private LocalDateTime updatedTime;


    /**
     * 建立人
     */
    @ApiModelProperty("created_by")
    private String createdBy;


    /**
     * 修改人
     */
    @ApiModelProperty("updated_by")
    private String updatedBy;


    /**
     * 状态  0-待审批 1-审批未过 2-已上架 3-已下架
     */
    @ApiModelProperty("status")
    private Integer status;


    /**
     * 是否删除
     */
    @ApiModelProperty("deleted")
    private Integer deleted;

}
